package com.company.project.wechat.officialAccounts.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * 图文信息实体
 *
 */
@Data
@EqualsAndHashCode(callSuper=false)
public class PicNewsMessage extends BaseMessage{
    public PicNewsMessage(String ToUserName, String fromUserName) {
        super(ToUserName, fromUserName);
    }

    /**
     * 图文消息个数，限制为8条以内
     */
    private int ArticleCount;
    /**
     * 该集合中存放的是PicNews对象，每个对象都代表着一条图文消息
     */
    private List<PicNews> Articles;
}
